package com.caojing.syby.config;

/**
 * Created by CaoJing on 2016/10/4.
 */
/*网络地址及参数配置类，所有地址及参数封装到此类*/
public class UrlConfig {
    public static class Path{
        /*base_url*/
        public static final String BASE_URL="http://www.syby8.com/";
        /*首页viewoager*/
        public static final String HOME_VP = "apptools/indexad.aspx?v=34";
        /*首页中间视图*/
        public static final String HOME_TODAY ="apptools/app.aspx?v=34";
        /*首页gridview数据*/
        public static final String HOME_GV = "apptools/productlist.aspx";
        //品牌特卖path部分
        public static final String BASE_BRAND_PATH_URL="apptools/brandsale.aspx";

    }
    /*接口的key*/
    public static class Key{
        public static final String V="v";
        public static final String ACT="act";
        public static final String PAGES="pages";
        public static final String CPAGE="cpage";
        public static final String PAGESIZE="pagesize";
        public static final String BCLASS="bclass";

        public static final String BC="bc";
        public static final String SC="sc";
        public static final String SORTS="sorts";
        public static final String CHANNEL="channel";
        public static final String CKEY="ckey";
        public static final String DAYNEWS="daynews";
        public static final String LPRICE="lprice";
        public static final String HPRICE="hprice";
        public static final String TBCLASS="tbclass";
        public static final String ACTID="actid";
        public static final String BRANDID="brandid";
        public static final String PREDATE="predate";
        public static final String INDEX="index";
    }
    /*接口key的默认值*/
    public static class DefaultValue{
        public static final String ACTNEW="brandlist";
        public static final String CPAGE="1";
        public static final String PAGESIZE="20";
        public static final String BCLASS="99";

        public static final String V="34";
        public static final String ACT="getproductlist";
        public static final String PAGES="1";
        public static final String BC="0";
        public static final String SC="0";
        public static final String SORTS="";
        public static final String CHANNEL="0";
        public static final String CKEY="";
        public static final String DAYNEWS="";
        public static final String LPRICE="0";
        public static final String HPRICE="0";
        public static final String TBCLASS="0";
        public static final String ACTID="0";
        public static final String BRANDID="0";
        public static final String PREDATE="2016-08-28+17%3A43%3A19";
        public static final String INDEX="1";
    }

    /*接口的key*/
    public static class CarfragmentKey{
        public static final String ACT="act";
        public static final String PAGES="pages";
        public static final String BC="bc";
        public static final String BRANDID="brandid";
        public static final String V="v";

    }
    /*接口key的默认值*/
    public static class CarfragmentDefaultValue{
        public static final String ACT="getworth";
        public static final String PAGES="1";
        public static final String BC="0";
        public static final String BRANDID="0";
        public static final String V="34";

    }




}
